StoreEngine\Ajax\Checkout C

Total Complexity 108
Dependencies 18
Dependents 1
Total lines 959
Lines of code 707
Logical lines of code 322
Comment lines 105
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
refund()
C
32 27 89
validate_checkout_data()
A
43 12 48
place_order()
A
38 8 71
pay_order()
A
48 9 32
add_product()
A
43 6 49
__construct()
S
36 1 110
set_checkout_data()
S
47 4 35
create_customer()
S
49 4 33
create_or_update_customer()
S
51 4 27
change_subscription()
S
53 4 23
add_tax()
S
54 4 20
update_checkout()
S
49 3 31
prepare_order_data()
S
45 2 42
add_fee()
S
57 3 16
direct_checkout()
S
60 3 13
get_states()
S
62 3 11
prepare_purchase_items_data()
S
56 2 19
apply_coupon()
S
61 2 12
update_coupon_usage()
S
67 2 7
refresh_cart()
S
67 2 8
subscribe_to_email()
S
69 2 7
country_to_state_lists()
S
75 1 4